#include "GRID_WEIGHTData.h"

#include "DataStructure/Common/Validation.h"

using namespace SG::DataStructure::Post;

bool SG::DataStructure::Post::operator== (const GRID_WEIGHTData& val1, const GRID_WEIGHTData& val2)
{
    FIELD_COMPARE (m_id)
    FIELD_COMPARE_ARR (m_MO, 36)
    FIELD_COMPARE_ARR (m_S, 9)
    FIELD_COMPARE (m_MX)
    FIELD_COMPARE (m_XX)
    FIELD_COMPARE (m_YX)
    FIELD_COMPARE (m_ZX)
    FIELD_COMPARE (m_MY)
    FIELD_COMPARE (m_XY)
    FIELD_COMPARE (m_YY)
    FIELD_COMPARE (m_ZY)
    FIELD_COMPARE (m_MZ)
    FIELD_COMPARE (m_XZ)
    FIELD_COMPARE (m_YZ)
    FIELD_COMPARE (m_ZZ)
    FIELD_COMPARE_ARR (m_I, 9)
    FIELD_COMPARE (m_PIX)
    FIELD_COMPARE (m_PIY)
    FIELD_COMPARE (m_PIZ)
    FIELD_COMPARE_ARR (m_Q, 9)
    FIELD_COMPARE (m_domainId)
    return true;
}